# -*- coding: utf-8 -*-
"""
Auth Api 路由模块
"""
from fastapi import APIRouter, Depends, HTTPException, Query
from typing import Optional, Dict, Any, List
from datetime import datetime

router = APIRouter(prefix="/auth", tags=["Auth Api"])

@router.get("/")
async def root():
    """根路径"""
    return {
        "code": 200,
        "message": "auth_api 服务正常运行",
        "data": {
            "service": "auth_api",
            "status": "running",
            "timestamp": datetime.now().isoformat()
        }
    }

@router.get("/health")
async def health_check():
    """健康检查"""
    return {
        "code": 200,
        "message": "服务健康",
        "data": {
            "status": "healthy",
            "timestamp": datetime.now().isoformat()
        }
    }
